package com.powerpoint.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

//@Data
//@NoArgsConstructor
//@AllArgsConstructor
//@ToString
@ConfigurationProperties
public class MyServer {
    private String title;
    private String ip;

    public MyServer() {
    }

    public MyServer(String title, String ip) {
        this.title = title;
        this.ip = ip;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }
}
